package com.example.springmvc.controller;

import com.example.springmvc.exception.DeptException;
import com.example.springmvc.pojo.ApiResult;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Description:
 * @Author: lijiewei
 * @Date: 2020/7/23$ 21:49$
 */
@ControllerAdvice
@ResponseBody
@RequestMapping("/login")
public class LoginController {

    @GetMapping("/login1")
    public Object login1(String name, String info) {
        return "login1";
    }
}
